package com.beg.cant.service;

import com.beg.cant.entity.TransferBill;
import com.beg.cant.vo.OrderPaymentVO;
import com.beg.cant.vo.WXPayOrderReqVO;
import com.beg.cant.vo.WxPayRespVO;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

public interface PayService {
    /**
     * 功能描述:
     * 〈微信预支付〉
     * @Param: [req]
     * @Return: [WxPayRespVO]
     * @Author: LJJie
     * @Date: 2023/7/27 9:46
     */
     OrderPaymentVO payOrder(WXPayOrderReqVO req) throws Exception;
    /**
     * 功能描述:
     * 〈微信支付回调〉
     * @Param: [request, response]
     * @Return: [void]
     * @Author: LJJie
     * @Date: 2023/7/27 10:45
     */
    void paySuccess(String code);
    /**
     * 管理修改
     * */
    TransferBill withdraw(String code) throws Exception;
}
